@import '../../../../../assets/less/base/variables.less';
.channel-list-box{
  .el-checkbox-group{
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    .el-checkbox{
      margin-left: 0px;
    }
  }
}

.channel-search-box{
  display: flex;
  margin: 10px 0px;
}
.edit-icon {
  color: @blue;
}
.no-interphone-setting {
  background: #f2f2f2;
  border-radius: 4px;
  text-align: center;
  width: 450px;
  height: 45px;
  line-height: 45px;
  img {
    width: 22px;
    height: 22px;
  }
}
.edit-btn-group {
  a {
    font-size: 14px;
    &:last-child {
      padding-left: 10px;
    }
  }
}
.interphone-setting {
  padding-top: 30px;
  padding-left: 20px;
}
.screen-setting-type-wrap {
  margin-bottom: 20px;
  p{
    padding-left: 10px;
    padding-top: 5px;
  }
}
.content {
  padding: 40px 20px 20px 20px;
}

.action-box {
  margin-top: 40px;
}

.zb-form {
  width: 100%;
}
.channel-list {
  border-radius: 4px;
  overflow: hidden;
  &:first-child {
    padding-bottom: 30px;
    border-bottom: 1px dashed @lightBorderColor;
    .channel-item:last-child {
      margin-bottom: 0;
    }
  }
  &:last-child {
    padding-top: 30px;
  }
  .channel-item {
    margin-bottom: 25px;
    .channel-top-cell {
      background: @grayF2;
      display: flex;
      padding: 10px 20px;
      align-items: center;
      position: relative;
      cursor: pointer;
      .el-form-item {
        margin-bottom: 0;
        margin-left: 15px;
      }
      .switch-box {
        margin-left: 20px;
        display: flex;
        align-items: center;
        .el-switch {
          margin-left: 6px;
        }
      }
      .show-detail {
        position: absolute;
        right: 65px;
        cursor: pointer;
        .el-icon-caret-bottom {
          font-size: 18px;
          color: @darkGrey;
          transition: transform 0.25s ease;
          transform-origin: center center;
          &.rotate180 {
            transform: rotate(-180deg);
          }
        }
      }
      .del-icon {
        position: absolute;
        right: 0;
        height: 100%;
        width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        .el-icon-close {
          font-size: 18px;
        }
      }
    }
    .detail-top-tab {
      border-left: 1px solid @grayD8;
      border-right: 1px solid @grayD8;
      border-bottom: 1px solid @lightBorderColor;
      padding-top: 20px;
      padding-left: 20px;
      display: flex;
      .tab-item {
        width: 110px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: @grey99;
        &.active {
          background: @grayF2;
          color: #333;
        }
      }
    }
    .detail-content {
      border-left: 1px solid @grayD8;
      border-right: 1px solid @grayD8;
      border-bottom: 1px solid @grayD8;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      padding-bottom: 15px;
      .voice-setting {
        padding-top: 30px;
        padding-left: 20px;
        width: 476px;
      }
      .screen-setting {
        width: 500px;
        padding-top: 20px;
        padding-left: 20px;
        .screen-setting-top {
          display: flex;
          justify-content: space-between;
          .tips {
            font-size: 14px;
            color: @grey99;
          }
        }
        .screen-list {
          margin-top: 15px;
        }
        .screen-list-item {
          margin-bottom: 10px;
          background: @grayF2;
          border-radius: 4px;
          display: flex;
          // height: 42px;
          color: @gray47;
          padding-left: 20px;
          .cell-num {
            margin-right: 30px;
            line-height: 42px;
          }
          .screen-bd {
            flex: 1;
            line-height: 42px;
            .bitmap {
              margin: 10px 10px 10px 0px;
            }
          }
          .edit-icon {
            width: 60px;
            text-align: center;
            color: @blue;
            cursor: pointer;
            line-height: 42px;
          }
        }
      }
      .more-setting {
        padding-top: 20px;
        padding-left: 20px;
        .el-form-item {
          margin-bottom: 0 !important;
        }
      }
    }
  }
}

.srceen-setting-content {
  .srceen-setting-content-title {
    font-size: 14px;
    color: @black;
    margin-bottom: 10px;
  }
  .screen-preview {
    padding: 20px;
    border-radius: 4px;
    background: @darkGrey;
    font-size: 30px;
    color: #fff;
    margin-bottom: 25px;
    min-height: 82px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .screen-edit-pre {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    display: flex;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 25px;
    min-height: 52px;
    display: flex;
    flex-wrap: wrap;
    .pre-item {
      height: 30px;
      padding-left: 10px;
      display: flex;
      font-size: 14px;
      color: @blue;
      border-radius: 4px;
      margin-right: 15px;
      margin-bottom: 10px;
      padding-right: 4px;
      background: @greyee;
      align-items: center;
      .el-icon-close {
        color: @grey66;
        margin-left: 4px;
        cursor: pointer;
        font-size: 12px;
        height: 16px;
        width: 16px;
        line-height: 16px;
        vertical-align: middle;
        border-radius: 50%;
        text-align: center;
        &:hover {
          background-color: #409eff;
          color: #fff;
        }
      }
    }
    .pre-item-constom {
      height: 30px;
      padding-left: 12px;
      padding-right: 4px;
      display: flex;
      font-size: 14px;
      color: @gray47;
      border-radius: 4px;
      margin-right: 15px;
      margin-bottom: 10px;
      border: 1px solid @grayD8;
      align-items: center;
      .el-icon-close {
        color: @darkGrey;
        margin-left: 4px;
        cursor: pointer;
        font-size: 12px;
        height: 16px;
        width: 16px;
        line-height: 16px;
        vertical-align: middle;
        border-radius: 50%;
        text-align: center;
        &:hover {
          background-color: #409eff;
          color: #fff;
        }
      }
    }
  }
  .tags {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    .tag-item {
      display: flex;
      font-size: 14px;
      color: @blue;
      border-radius: 4px;
      background: @greyee;
      align-items: center;
      padding: 0 12px;
      height: 30px;
      cursor: pointer;
    }
  }
  .custom-input {
    width: 220px;
    margin-bottom: 25px;
    position: relative;
    .inputBtn {
      position: absolute;
      right: 0;
      top: 0;
      width: 55px;
      height: 30px;
      z-index: 10;
    }
    .el-input-group__append {
      background-color: @blue;
      .el-icon-plus {
        font-weight: bold;
        color: #fff;
      }
    }
  }
}

.date-form-item {
  .el-date-editor.el-input {
    width: 184px;
  }

  margin-right: -80px;
  .unit {
    display: inline-block;
    margin-top: -16px;
  }
}

.voice-item {
  position: relative;
  .unit {
    position: absolute;
    right: -32px;
    top: 3px;
  }
}

.upload-require {
  display: flex;
  flex-direction: column;
  justify-content: center;
  h5 {
    font-size: 14px;
  }
  p {
    span {
      display: block;
      font-size: 14px;
      color: #999999;
    }
  }
}
